\hypertarget{struct_p_w_m___set}{
\section{PWM\_\-Set Struct Reference}
\label{struct_p_w_m___set}\index{PWM\_\-Set@{PWM\_\-Set}}
}


Pwm configure the parameter structure.  




{\ttfamily \#include $<$pwm.h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
YC\_\-PWMChanel\_\-e \hyperlink{struct_p_w_m___set_aa569e55a7de3604f3e8118ccedd1f39b}{channal}
\item 
u8\_\-t \hyperlink{struct_p_w_m___set_a375c95583b4fce8e2484c085fa18656e}{outgpio}
\item 
u16\_\-t \hyperlink{struct_p_w_m___set_a33a3e9149faf29379cfd20ae7753d8dd}{pcnt}
\item 
u16\_\-t \hyperlink{struct_p_w_m___set_a8aa71502150d87641a114b957f7c85d9}{ncnt}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Pwm configure the parameter structure. 

\subsection{Field Documentation}
\hypertarget{struct_p_w_m___set_aa569e55a7de3604f3e8118ccedd1f39b}{
\index{PWM\_\-Set@{PWM\_\-Set}!channal@{channal}}
\index{channal@{channal}!PWM_Set@{PWM\_\-Set}}
\subsubsection[{channal}]{\setlength{\rightskip}{0pt plus 5cm}YC\_\-PWMChanel\_\-e {\bf channal}}}
\label{struct_p_w_m___set_aa569e55a7de3604f3e8118ccedd1f39b}
pwm channel select, 0: channel 0, 1:channel 1 \hypertarget{struct_p_w_m___set_a8aa71502150d87641a114b957f7c85d9}{
\index{PWM\_\-Set@{PWM\_\-Set}!ncnt@{ncnt}}
\index{ncnt@{ncnt}!PWM_Set@{PWM\_\-Set}}
\subsubsection[{ncnt}]{\setlength{\rightskip}{0pt plus 5cm}u16\_\-t {\bf ncnt}}}
\label{struct_p_w_m___set_a8aa71502150d87641a114b957f7c85d9}
PWM channel npositive pulse clock count. PWM channel frequency = (48M/(PWM\_\-pcnt+PWM\_\-ncnt))Hz Duty ratio = (PWM\_\-pcnt/(PWM\_\-pcnt+PWM\_\-ncnt))$\ast$100\% \hypertarget{struct_p_w_m___set_a375c95583b4fce8e2484c085fa18656e}{
\index{PWM\_\-Set@{PWM\_\-Set}!outgpio@{outgpio}}
\index{outgpio@{outgpio}!PWM_Set@{PWM\_\-Set}}
\subsubsection[{outgpio}]{\setlength{\rightskip}{0pt plus 5cm}u8\_\-t {\bf outgpio}}}
\label{struct_p_w_m___set_a375c95583b4fce8e2484c085fa18656e}
channel 1: gpio 5 channel 0 : gpio\mbox{[}3,4,6,7,18,19,20,21,22\mbox{]} \hypertarget{struct_p_w_m___set_a33a3e9149faf29379cfd20ae7753d8dd}{
\index{PWM\_\-Set@{PWM\_\-Set}!pcnt@{pcnt}}
\index{pcnt@{pcnt}!PWM_Set@{PWM\_\-Set}}
\subsubsection[{pcnt}]{\setlength{\rightskip}{0pt plus 5cm}u16\_\-t {\bf pcnt}}}
\label{struct_p_w_m___set_a33a3e9149faf29379cfd20ae7753d8dd}
PWM channel positive pulse clock count 

The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
pwm.h\end{DoxyCompactItemize}
